package com.kch.system.mapper;

import com.kch.system.domain.Meeting;
import com.kch.system.vo.MeetingVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeetingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Meeting record);

    int insertSelective(Meeting record);

    Meeting selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Meeting record);

    int updateByPrimaryKeyWithBLOBs(Meeting record);

    int updateByPrimaryKey(Meeting record);

    List<MeetingVO> seletMeetingPage(Meeting meeting);

    int updateStatus(@Param("id")Integer id, @Param("status")String status);

    List<Meeting> selectByCode(@Param("code")String code, @Param("tag")String tag);

    int updateEntryMember(Meeting meeting);

    int updatePassMember(Meeting meeting);
}